package com.bjwl.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: dzx
 * @Date:Create：in 2020/4/10 16:32
 * @Description:    分店管理员
 * @Modified By：
 * @Version: 1.0
 */
@Component
public class Bsadmin implements Serializable {
    private int id;
    private String username;
    private String password;
    private String bstel;
    private String bsemail;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date inserttime;
    private Integer bsid;
    private BranchStore branchStores;
    private Integer state;

    private Integer jl;

    public Integer getJl() {
        return jl;
    }

    public void setJl(Integer jl) {
        this.jl = jl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBstel() {
        return bstel;
    }

    public void setBstel(String bstel) {
        this.bstel = bstel;
    }

    public String getBsemail() {
        return bsemail;
    }

    public void setBsemail(String bsemail) {
        this.bsemail = bsemail;
    }

    public Date getInserttime() {
        return inserttime;
    }

    public void setInserttime(Date inserttime) {
        this.inserttime = inserttime;
    }

    public Integer getBsid() {
        return bsid;
    }

    public void setBsid(Integer bsid) {
        this.bsid = bsid;
    }

    public BranchStore getBranchStores() {
        return branchStores;
    }

    public void setBranchStores(BranchStore branchStores) {
        this.branchStores = branchStores;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Bsadmin{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", bsid=" + bsid +
                ", branchStores=" + branchStores +
                '}';
    }
}
